home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 023a / icsp.zip / GO2.BAT < prev    next >
DOS Batch File  |  1991-09-03  |  3KB  |  144 lines

  1. echo off
  2. IF NOT EXIST ECOH.COM A:
  3. cls
  4. echo  
  5. ECOH  Welcome the installation procedure for Service Plus [TM]
  6. ECHO                      [disk 2 of 2]
  7. echo      
  8. ECHO This is the final disk! The rest is even easier than   
  9. ECHO the first part.
  10. echo  
  11. ECHO Would you like to the install this program on a Hard Drive?
  12. echo  
  13. ECHO [If just starting this process, 'GO' begins it on disk one]
  14. echo  
  15. :YESNO
  16. YESNO
  17. CLS
  18. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YESNEXT
  19. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YES1
  20. GOTO YESNO
  21. :YESNEXT
  22. CLS
  23. ECHO For you to install this program on a hard drive, this disk must be on Drive A.
  24. ECHO Is this floppy on drive A now?
  25. echo  
  26. YESNO
  27. CLS
  28. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES 
  29. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO NO1
  30. GOTO YESNEXT
  31. :YES1
  32. CLS
  33. ECHO Would you like to install this program on a floppy-based system?
  34. echo  
  35. YESNO
  36. CLS
  37. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES2
  38. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO END
  39. GOTO YES1
  40. :YES
  41. A:
  42. CLS
  43. echo  
  44. ECOH ══════════ Select the Hard drive you want to install the program on: ══════════
  45. echo  
  46. echo  
  47. echo           C = Drive C           D = Drive D
  48. echo           E = Drive E           F = Drive F
  49. echo           G = Drive G
  50. :INPUT
  51. echo  
  52. echo  
  53.              INPUT            (Pick a letter.)
  54. IF ERRORLEVEL 72 GOTO INPUT
  55. IF ERRORLEVEL 71 GOTO G
  56. IF ERRORLEVEL 70 GOTO F     
  57. IF ERRORLEVEL 69 GOTO E     
  58. IF ERRORLEVEL 68 GOTO D     
  59. IF ERRORLEVEL 67 GOTO C     
  60. IF ERRORLEVEL 67 GOTO C
  61. REM IF ERRORLEVEL 66 GOTO B
  62. REM IF ERRORLEVEL 65 GOTO A
  63. GOTO INPUT
  64. :C
  65. CLS
  66. echo  
  67. INSTALL2 H C
  68. :D
  69. CLS
  70. echo  
  71. INSTALL2 H D
  72. :E
  73. CLS
  74. echo  
  75. INSTALL2 H E
  76. :F
  77. CLS
  78. echo  
  79. INSTALL2 H F
  80. :G
  81. CLS
  82. echo  
  83. INSTALL2 H G
  84. :NO
  85. CLS
  86. echo  
  87. ECHO To install this for a floppy based system, this disk must be on Drive B.
  88. GOTO END
  89. :NO1
  90. CLS
  91. echo  
  92. ECOH To install this program, move this disk to drive A and re-execute 'GO2' there.
  93. echo  
  94. echo If you have no choice but to install this program from drive B, 
  95. echo then execute this command now in DOS:
  96. echo  
  97. echo  
  98. echo                 ASSIGN A=B     {=====  you enter this, follwed by Enter 
  99. echo  
  100. echo  
  101. echo Upon your completion of the ASSIGN command, please enter this command:
  102. echo  
  103. echo  
  104. echo                 A:             {=====  you enter this, follwed by Enter 
  105. echo  
  106. echo  
  107. echo After you have entered 'A:', you will observe the light come on for drive B.
  108. echo  
  109. echo  
  110. echo Then continue on drive B as though you were on drive A.
  111. echo  
  112. GOTO END
  113. :YES2
  114. CLS
  115. echo  
  116. ECHO Beginning with version 4.0 of this program, it will not operate 
  117. ECHO on a floppy-based system.  
  118. echo  
  119. GOTO END
  120. echo  
  121. ECHO This disk must be on drive B to manufacture those three disks. 
  122. ECHO Each disk must be 720 kb or greater.
  123. ECHO Are you in drive B now?
  124. echo  
  125. YESNO
  126. CLS
  127. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES3
  128. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO NO3
  129. GOTO YES2
  130. :YES3
  131. CLS
  132. INSTALL2 F 2
  133. :NO3
  134. CLS
  135. echo  
  136. echo To install this program, move this disk to drive B and re-execute 'GO2' there.
  137. GOTO END
  138. :NO2
  139. CLS
  140. echo  
  141. :END
  142. echo  
  143.  
  144.